home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGRect.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  5KB  |  158 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGRect.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGRect_h__
  6. #define __gen_nsIDOMSVGRect_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMSVGRect */
  19. #define NS_IDOMSVGRECT_IID_STR "5b912111-c10e-498f-a44c-c713c1843007"
  20.  
  21. #define NS_IDOMSVGRECT_IID \
  22.   {0x5b912111, 0xc10e, 0x498f, \
  23.     { 0xa4, 0x4c, 0xc7, 0x13, 0xc1, 0x84, 0x30, 0x07 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMSVGRect : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGRECT_IID)
  29.  
  30.   /* attribute float x; */
  31.   NS_IMETHOD GetX(float *aX) = 0;
  32.   NS_IMETHOD SetX(float aX) = 0;
  33.  
  34.   /* attribute float y; */
  35.   NS_IMETHOD GetY(float *aY) = 0;
  36.   NS_IMETHOD SetY(float aY) = 0;
  37.  
  38.   /* attribute float width; */
  39.   NS_IMETHOD GetWidth(float *aWidth) = 0;
  40.   NS_IMETHOD SetWidth(float aWidth) = 0;
  41.  
  42.   /* attribute float height; */
  43.   NS_IMETHOD GetHeight(float *aHeight) = 0;
  44.   NS_IMETHOD SetHeight(float aHeight) = 0;
  45.  
  46. };
  47.  
  48. /* Use this macro when declaring classes that implement this interface. */
  49. #define NS_DECL_NSIDOMSVGRECT \
  50.   NS_IMETHOD GetX(float *aX); \
  51.   NS_IMETHOD SetX(float aX); \
  52.   NS_IMETHOD GetY(float *aY); \
  53.   NS_IMETHOD SetY(float aY); \
  54.   NS_IMETHOD GetWidth(float *aWidth); \
  55.   NS_IMETHOD SetWidth(float aWidth); \
  56.   NS_IMETHOD GetHeight(float *aHeight); \
  57.   NS_IMETHOD SetHeight(float aHeight); 
  58.  
  59. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  60. #define NS_FORWARD_NSIDOMSVGRECT(_to) \
  61.   NS_IMETHOD GetX(float *aX) { return _to GetX(aX); } \
  62.   NS_IMETHOD SetX(float aX) { return _to SetX(aX); } \
  63.   NS_IMETHOD GetY(float *aY) { return _to GetY(aY); } \
  64.   NS_IMETHOD SetY(float aY) { return _to SetY(aY); } \
  65.   NS_IMETHOD GetWidth(float *aWidth) { return _to GetWidth(aWidth); } \
  66.   NS_IMETHOD SetWidth(float aWidth) { return _to SetWidth(aWidth); } \
  67.   NS_IMETHOD GetHeight(float *aHeight) { return _to GetHeight(aHeight); } \
  68.   NS_IMETHOD SetHeight(float aHeight) { return _to SetHeight(aHeight); } 
  69.  
  70. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  71. #define NS_FORWARD_SAFE_NSIDOMSVGRECT(_to) \
  72.   NS_IMETHOD GetX(float *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
  73.   NS_IMETHOD SetX(float aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetX(aX); } \
  74.   NS_IMETHOD GetY(float *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
  75.   NS_IMETHOD SetY(float aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetY(aY); } \
  76.   NS_IMETHOD GetWidth(float *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  77.   NS_IMETHOD SetWidth(float aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } \
  78.   NS_IMETHOD GetHeight(float *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  79.   NS_IMETHOD SetHeight(float aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } 
  80.  
  81. #if 0
  82. /* Use the code below as a template for the implementation class for this interface. */
  83.  
  84. /* Header file */
  85. class nsDOMSVGRect : public nsIDOMSVGRect
  86. {
  87. public:
  88.   NS_DECL_ISUPPORTS
  89.   NS_DECL_NSIDOMSVGRECT
  90.  
  91.   nsDOMSVGRect();
  92.  
  93. private:
  94.   ~nsDOMSVGRect();
  95.  
  96. protected:
  97.   /* additional members */
  98. };
  99.  
  100. /* Implementation file */
  101. NS_IMPL_ISUPPORTS1(nsDOMSVGRect, nsIDOMSVGRect)
  102.  
  103. nsDOMSVGRect::nsDOMSVGRect()
  104. {
  105.   /* member initializers and constructor code */
  106. }
  107.  
  108. nsDOMSVGRect::~nsDOMSVGRect()
  109. {
  110.   /* destructor code */
  111. }
  112.  
  113. /* attribute float x; */
  114. NS_IMETHODIMP nsDOMSVGRect::GetX(float *aX)
  115. {
  116.     return NS_ERROR_NOT_IMPLEMENTED;
  117. }
  118. NS_IMETHODIMP nsDOMSVGRect::SetX(float aX)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* attribute float y; */
  124. NS_IMETHODIMP nsDOMSVGRect::GetY(float *aY)
  125. {
  126.     return NS_ERROR_NOT_IMPLEMENTED;
  127. }
  128. NS_IMETHODIMP nsDOMSVGRect::SetY(float aY)
  129. {
  130.     return NS_ERROR_NOT_IMPLEMENTED;
  131. }
  132.  
  133. /* attribute float width; */
  134. NS_IMETHODIMP nsDOMSVGRect::GetWidth(float *aWidth)
  135. {
  136.     return NS_ERROR_NOT_IMPLEMENTED;
  137. }
  138. NS_IMETHODIMP nsDOMSVGRect::SetWidth(float aWidth)
  139. {
  140.     return NS_ERROR_NOT_IMPLEMENTED;
  141. }
  142.  
  143. /* attribute float height; */
  144. NS_IMETHODIMP nsDOMSVGRect::GetHeight(float *aHeight)
  145. {
  146.     return NS_ERROR_NOT_IMPLEMENTED;
  147. }
  148. NS_IMETHODIMP nsDOMSVGRect::SetHeight(float aHeight)
  149. {
  150.     return NS_ERROR_NOT_IMPLEMENTED;
  151. }
  152.  
  153. /* End of implementation class template. */
  154. #endif
  155.  
  156.  
  157. #endif /* __gen_nsIDOMSVGRect_h__ */
  158.